<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>layUI布局</title>
    <link rel="stylesheet" href="./static/layui/css/layui.css">
    <style>
        *{
            padding: 0;
            margin: 0;
        }

        .nav:nth-of-type(1) {
            background-color: bisque;
            height: 45px;
        }

        .nav_left {
            background-color: brown;
            padding-left: 40px;
            height: 58px;
        }

        .nav_right {
            background-color: turquoise;
            padding: 10px 0px 10px 180px;
        }

        .nav_right input{
            width: 200px;
        }
    </style>
</head>

<body>
    <div class="layui-container nav">
        常规布局（以中型屏幕桌面为例）：
        <div class="layui-row">
            <div class="layui-col-md6">
            </div>
            <div class="layui-col-md6">
            </div>
        </div>
    </div>
    <hr>
    <div class="layui-fluid nav">
        <div class="layui-row">
            <div class="layui-col-lg6 nav_left">
                11
            </div>
            <div class="layui-col-lg6 nav_right">
                <input type="text" name="title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-row" style="height: 300px;background-color: lightgoldenrodyellow;">
            
        </div>

        <div class="layui-row"  style="background-color: lightcoral">
            <div class="layui-col-lg3 nav_left" style="height: 400px;background-color: blue;">
                11
            </div>
            <div class="layui-col-lg3 nav_left"  style="height: 400px;background-color: yellow;">
                12
            </div>
            <div class="layui-col-lg3 nav_left"  style="height: 400px;background-color: red;">
                13
            </div>
            <div class="layui-col-lg3 nav_left"  style="height: 400px;background-color: lightseagreen;">
                14
            </div>
        </div>

        <hr>

        <div class="layui-row"  style="background-color: lightcoral">
            <div class="layui-col-lg2 layui-col-lg-offset2 nav_left" style="height: 400px;background-color: blue;">
                11
            </div>
            <div class="layui-col-lg2 nav_left"  style="height: 400px;background-color: yellow;">
                12
            </div>
            <div class="layui-col-lg2 nav_left"  style="height: 400px;background-color: red;">
                13
            </div>
            <div class="layui-col-lg2 nav_left"  style="height: 400px;background-color: lightseagreen;">
                14
            </div>
        </div>
    </div>
    <hr>
    <div class="layui-container nav">
        <div class="layui-row"  style="background-color: lightcoral">
            <div class="layui-col-md3 nav_left" style="height: 400px;background-color: blue;">
                
            </div>
            <div class="layui-col-md3 nav_left"  style="height: 400px;background-color: yellow;">
                
            </div>
            <div class="layui-col-md3 nav_left"  style="height: 400px;background-color: red;">
                13
            </div>
            <div class="layui-col-md3 nav_left"  style="height: 400px;background-color: lightseagreen;">
                14
            </div>
        </div>
    </div>
    <script src="./static/layui/layui.js"></script>
</body>

</html>